package com.ay.wiki_plt.common;

import jakarta.validation.constraints.Max;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/*封装分页响应参数*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageBean {

    private Long total;//数据总数
    @Max(value = 1000, message = "【每页条数】不能超过1000")
    private List rows;//数据记录条数
}
